home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
bbs
/
king821.zip
/
KING.DOC
< prev
next >
Wrap
Text File
|
1996-07-26
|
19KB
|
425 lines
King of the Board
Copyrighted June 1988,1989,1990,1991,1992,1993,1994
By Chuck Valecek - Suburban Software
Version 8.17
BACKGROUND
King of the Board started about a 6 years ago as a Door written in
QuickBasic, and incorporated Door routines in DOORPATCH. Since then,
it has been modified from version 1.0 through 5.4 with suggestions
by users and Sysops. It has become very popular with PCBoards all
over the country and very popular with the users.
The 7.0 was the first official release of the door which was completly
rewritten using Turbo Pascal and ProKit Door routines. This will, I hope,
satisfy those Sysops who wanted to use the door but could not, due to
the newer modem speeds and system incompatibilities.
Since the version 7 release there have been quite a few sysops that are
running the door under BBS software other than PCBoard. This was a real task
since the door required PCBoard files. There were converters to create the
files but some sysops still had problems getting the DOOR to run correctly.
Introducing version 8.0. This version is a complete rewrite of the 7.0
version. This time it supports MOST major brands of BBS Software. A list of
the supported Systems are described later in this file.
FILES
The following files are either included in the package or created by the door.
KINGxxx.EXE The door program itself (xxx would be the version number)
QUESTION.DAT Question file (included)
NEXTQUES.DAT Next question (created by the door)
NEW_QUES.DAT New questions entered by the users (created by the door)
KOBUTLxx.EXE Utility program to list users etc (included)
KING.CFG Sample config file
KINGxxx Sample batch file
KING.LOG Optional log file (created by the door)
KING.HLP Help file
KINGP.HLP Help file if using the Point version.
KOBG.DAT Sign on screen for King - Color Version
QOBG.DAT Sign on screen for Queen - Color Version
KOB.DAT Sign on screen for King - No Color
QOB.DAT Sign on screen for Queen - No Color
ADOPT.DAT Sample of a Adopt-a-door screen that can be used - No Color
ADOPTG.DAT Sample of a Adopt-a-door screen that can be used - Color
THE DOOR
King is a trivia game in which users try to make it up the pyramid
to the top. To accomplish this, the user must challenge another user
in a position above him. The user is asked a question and if he gets
it right he changes places with the user he challenged. It's a quick
game and won't tie up your board as some games do, because the user is
asked only one question and is allowed only one play per day. He may
call back tomorrow and find himself back were he was or even further
down the pyramid. If the user is beyond the playing grid (only 28
users on the grid) he can challenge only the 26th, 27th, and 28th
positions. If he is on the grid he can only challenge one of the next
three players. After the player has a turn he is asked if he would
like to enter a qustion into the game. These questions are placed in
a hold file for the sysop to review and merge into the question
file. Each time a user calls in the question is changed. The program
reads the question file sequentially so the more questions in the
file the less chance the user will get a repeat. The sysop also has
the option to limit the number of chances the user gets to answer
correctly. I use 3 and it seems to work out just fine. One sysop, I
won't mention his name, changes the number of chances, so his users
never know how many tries they get. The format of the question is
shown to the user. All alpha characters are replaced with a *, all
digits are replaced with a N and special characters (!@#$$%) are
shown as is. After each guess the user is prompted to see if he
would like to try again. If so, the correct letters are replaced so
as to give him a hint. This helps if the user is unsure of the
correct spelling. Only letters that are in the correct position are
replaced.
There is an option that allows the sysop to choose whether he
wants the game to use a point system. The point system assigns a
point value to the person being challenged. The points are assigned
as follows: A person 3 positions above the player is worth 2500
points. A person 2 positions above the player is worth 2000 points.
A person 1 position above the player is worth 1500 points.
If the player answers the question incorrectly the person he
challenged gets a bonus of 500 points.
If you choose to set the point option, an extra bulletin file will be created
by the door which will contain the point standings. This will only
appear if the point option is set. The user will also be asked if he
would like to review the file before the door terminates. If you
wish, this file could be copied over as a bulletin in the door batch
file.
That's about it for the door operation. It's simple yet fun!
SETUP
Most of you out there are familiar with the setup of a door. This door
follows the standard setup of Doors.
Since the config file has gotten so large, I have incorporated a configuration
option in the KOBUTLxx.EXE. It will allow you to edit or create the config file
through a series of prompts. Answer the prompts and a config file will be
created. You can always rerun the program to create another file or edit your
existing config file.
If you are a previous registered sysop of King of the Board your old
registration number will work with this door.
And you thought it was hard!
Okay, now to set up a batch file for the door to run. Remember this is just like
any other batch file except there is no ".BAT" extension.
The standard DOOR script for ProKit doors has this format:
echo off
cd \king
KINGxxx KINGxxx.CFG
cd \pcb
board
There is nothing else required in this batch file.
UTILITIES
Okay, now to the new Sysops. There is a program called KOBUTLxx.EXE. This
utility will display the users file, print the users file, Purge users from the users
file, Verify the question file (explained later), Merge the new questions into
the question file, Create a TEXT file from the question file for editing and
rebuild the question file from a TEXT file. Since the question file is a
encrypted file it may look like gibberish to you. Choosing the option
Convert to text will allow you to use any text type editor and edit the questions
or answers, and then rebuild the question file. All the options are
in LOTUS type menus. Select the option with the arrow keys and press
return.
The questions entered by the users go into a file called NEW_QUES.DAT.
This is a standard text file and can be edited with any text editor. Edit this
file before merging the new questions into the question file.
The format of the data is question,answer,user. That is the question followed
by a comma followed by the answer followed by a comma followed by the username.
As of this release all three (3) fields must be present.
If you convert the question file into a text file, the first line will be
the number of questions in the file. Example: 1147,0. There is no need to change
this record. Leave as it is the KOBUTLxx will place the correct number of
questions in the first record. Why this record? The door creates a file called
NEXTQUES.DAT that contains the number of the next question. If this number
exceeds the number of questions it will reset to 2 allowing the first question
to be asked. In future release this may be removed and a editor built into the
KINGUTIL to accomodate editing of the questions. But for now this is the way
it has to be.
PLEASE edit your new question file!!! I have had users call me long
distance to complain that they lost because of a word was entered incorrectly.
This is not MY problem. It's up to you to insure that the answers are correct.
I believe I have tried to cover most of the requirements of the programs.